home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3collum.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_LUMINOSITYGADGET_H = 1;
- include("oops/r3gadget.js")
-
-
- var R3CLID_LUMINOSITYGADGET = 606;
-
-
-
-
- // Description: Ask the gadget to render itself when it has no better things to do.
- // Note that this simply asks the gadget to render itself. The actual rendering is done
- // in RENDEROPTIMIZED method. No need to touch this, unless you are going to change the
- // look of the gadget.
-
- R3LUMGM_RENDER = 606000;
-
- function mR3LUMGM_RENDER() {
- DoA(this.r3obj, 606000, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Renders the luminosity gradient and the current pen position.
-
- R3LUMGM_RENDEROPTIMIZED = 606001;
-
- function mR3LUMGM_RENDEROPTIMIZED() {
- DoA(this.r3obj, 606001, 0, R3TID_INTEGER, 0);
- }
-
- // Description: The gadget owns window for rendering the gradient. Window events, are mapped to the
- // gadget using this method.
- // p3: window event.
-
- R3LUMGM_WINDOWEVENT = 606002;
-
- function mR3LUMGM_WINDOWEVENT(p3) {
- DoA(this.r3obj, 606002, p3, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3LUMGA_Luminosity = 606500;
- function SetR3LUMGA_Luminosity(value) {
- R3Set(this.r3obj, R3LUMGA_Luminosity, value, R3TID_FLOAT, 0);
- }
-
- function GetR3LUMGA_Luminosity() {
- return R3Get(this.r3obj, R3LUMGA_Luminosity, R3TID_FLOAT, 0);
- }
-
- R3LUMGA_ColorRGBA = 606501;
- function SetR3LUMGA_ColorRGBA(value) {
- R3Set(this.r3obj, R3LUMGA_ColorRGBA, value, R3TID_COLOR_RGBA, 0);
- }
-
- function GetR3LUMGA_ColorRGBA() {
- return R3Get(this.r3obj, R3LUMGA_ColorRGBA, R3TID_COLOR_RGBA, 0);
- }
-
- R3LUMGA_Window = 606502;
- function GetR3LUMGA_Window() {
- return R3ToJS(R3Get(this.r3obj, R3LUMGA_Window, R3TID_OBJECT, 0));
- }
-
- R3LUMGA_Packer = 606503;
- function GetR3LUMGA_Packer() {
- return R3ToJS(R3Get(this.r3obj, R3LUMGA_Packer, R3TID_OBJECT, 0));
- }
-
-
-
- function r3Luminositygadget () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_LUMINOSITYGADGET, arguments);
- }
- // Methods
- this.RENDER=mR3LUMGM_RENDER;
- this.RENDEROPTIMIZED=mR3LUMGM_RENDEROPTIMIZED;
- this.WINDOWEVENT=mR3LUMGM_WINDOWEVENT;
-
- // Attributes
- this.GetLuminosity=GetR3LUMGA_Luminosity;
- this.SetLuminosity=SetR3LUMGA_Luminosity;
- this.GetColorRGBA=GetR3LUMGA_ColorRGBA;
- this.SetColorRGBA=SetR3LUMGA_ColorRGBA;
- this.GetWindow=GetR3LUMGA_Window;
- this.GetPacker=GetR3LUMGA_Packer;
- }
-
- r3Luminositygadget.prototype=new r3Gadget;
- // r3collum.h_H